package com.boc.news.beans.json;

public class JsonException extends Exception {
	private static final long serialVersionUID = -3787929257348982298L;
	private Throwable cause;

    public JsonException(String message) {
        super(message);
    }

    public JsonException(Throwable t) {
        super(t.getMessage());
        this.cause = t;
    }

    public Throwable getCause() {
        return this.cause;
    }
}
